package cn.yueranzs.system.mapper;

import cn.hutool.json.JSONObject;
import cn.yueranzs.system.pojo.Department;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;


/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author yueranzs
 * @since 2021-11-09
 */
public interface DepartmentMapper extends BaseMapper<Department> {

    Page<JSONObject> findDeptAndCount(@Param("dept") Department department, Page page);

}
